diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-15 23:07:11 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-15 23:07:11 +0100 |
commit | 1c70adac5a9fa2984d0910cc7c8d4b2f73951327 (patch) | |
tree | d0821093bed8817748ae492299e61c8b95ac427f /xcftools [moved to community]/watch- | |
parent | ... (diff) | |
download | aur-packages-1c70adac5a9fa2984d0910cc7c8d4b2f73951327.tar.gz aur-packages-1c70adac5a9fa2984d0910cc7c8d4b2f73951327.tar.bz2 aur-packages-1c70adac5a9fa2984d0910cc7c8d4b2f73951327.tar.xz |
xcftools is know in [community]
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xcftools [moved to community]/watch-')
-rwxr-xr-x | xcftools [moved to community]/watch- | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xcftools [moved to community]/watch- b/xcftools [moved to community]/watch- new file mode 100755 index 0000000..09ac1eb --- /dev/null +++ b/xcftools [moved to community]/watch- @@ -0,0 +1,20 @@ +#!/bin/sh + +[ -f 'versions' ] && rm 'versions' +wget http://henning.makholm.net/xcftools -O - | grep -Po '<a [^>]*>' | grep 'xcftools' | grep -v asc > versions +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + md5sum < versions > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'xcftools' + fi + rm versions +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'xcftools (unfetchable)' +fi + |